// This file is a part of ChaosDB.
// Copyright (C) 2012 ChaoJianPeng
// email:chaojianpeng@gmail.com
//
// ChaosDB is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// any later version.
//
// ChaosDB is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.

/*
 * config.h
 *
 *  Created on: 2012-3-5
 *      Author: chao
 */

#ifndef CONFIG_H_
#define CONFIG_H_

#define DEFAULT_BIO 0
#define BERKELET_DB_BIO 1

static char IP_PORT[50] = "tcp://*:5555"; // 端口
static size_t MAX_RAM_USED = 1000000000; // 默认1g
static int STORAGE_TYPE = 0; // 持久化类型

static int SERVER_STATE;

#endif /* CONFIG_H_ */
